#pragma once
#include "Utility\Matrix.h"
#include "Geometry.h"

class GeometryInstance
{
public:
	GeometryInstance(void);
	~GeometryInstance(void);

	DxVertexBuffer* GetVertexBuffer()	{ return m_pGeometry->GetVertexBuffer(); }
	DxIndexBuffer* GetIndexBuffer()		{ return m_pGeometry->GetIndexBuffer(); }
	DxTexture*	GetTexture()			{ return m_pGeometry->GetTexture(); }
	Matrix&		GetWorld()		{ return m_mWorld; }

protected:
	Geometry*	m_pGeometry;
	Matrix		m_mWorld;

};

